package cn.edu.henu.team.table;

import com.bin.david.form.annotation.SmartColumn;
import com.bin.david.form.annotation.SmartTable;

@SmartTable(name = "排行榜: ")
public class the_clinic {
    @SmartColumn(id=0,name = "编号")
    private int id;
    @SmartColumn(id=1,name = "医院名称")
    private String name;
    @SmartColumn(id=2,name = "相对评分")
    private String avg;
    @SmartColumn(id=3,name = "所在区域")
    private String kinds;
    @SmartColumn(id=4,name = "联系方式")
    private String phone;
    @SmartColumn(id=5,name = "详细地址")
    private String address;
    @SmartColumn(id=6,name = "投票人数")
    private double sum;

    public the_clinic(int id, String name, String kinds,String address, String phone, double sum, String avg) {
        this.address = address;
        this.name = name;
        this.phone = phone;
        this.sum = sum;
        this.avg = avg;
        this.id = id;
        this.kinds = kinds;
    }
}
